package com.internetCafes.spms.web.sys.service.impl;

import com.internetCafes.spms.web.sys.mapper.LogInfoMapper;
import com.internetCafes.spms.web.sys.model.LogInfo;
import com.internetCafes.spms.web.sys.service.LogInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service("sysLogService")
public class LogInfoServiceImpl implements LogInfoService {
	@Autowired
	private LogInfoMapper logInfoMapper;
	
	@Override
	public LogInfo queryObject(Long id){
		return logInfoMapper.queryObject(id);
	}
	
	@Override
	public List<LogInfo> queryList(Map<String, Object> map){
		return logInfoMapper.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return logInfoMapper.queryTotal(map);
	}
	
	@Override
	public void save(LogInfo sysLog){
		logInfoMapper.save(sysLog);
	}
	
	@Override
	public void delete(Long id){
		logInfoMapper.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		logInfoMapper.deleteBatch(ids);
	}
	
}
